<template>
	<view class="wrap">

		<view class="list-wrap">
			<up-cell-group title-bg-color="rgb(243, 244, 246)" :border="false" :title="item.groupName"  v-for="(item, index) in list"
				:key="index">
				<up-cell :titleStyle="{fontWeight: 500, paddingLeft: '20rpx'}" @click="openPage(item1.path)" :title="item1.title"
				:isLink="true"
					v-for="(item1, index1) in item.list" :key="index1">
				</up-cell>
			</up-cell-group>

		</view>
		<up-gap height="70"></up-gap>
	</view>
</template>

<script setup>
	import list from "./template.config.js"
	import {
		route
	} from '@/uni_modules/uview-plus';

	const desc = 'vue3 API总结'

	function openPage(path) {
		route(path);
	}
</script>

<style>

</style>